package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.EmploymentTrackingStudent;
import com.ruoyi.system.domain.EmploymentTracking;
import org.apache.ibatis.annotations.Param;

/**
 * 就业追踪Mapper接口
 *
 * @author luofan
 * @date 2024-11-17
 */
public interface EmploymentTrackingStudentMapper
{
    /**
     * 查询就业追踪
     *
     * @param id 就业追踪主键
     * @return 就业追踪
     */
    public EmploymentTrackingStudent selectEmploymentTrackingStudentById(Long studentId);

    /**
     * 查询就业追踪列表
     *
     * @param employmentTrackingStudent 就业追踪
     * @return 就业追踪集合
     */
    public List<EmploymentTrackingStudent> selectEmploymentTrackingStudentList(@Param(value = "employmentTrackingStudent") EmploymentTrackingStudent employmentTrackingStudent,@Param(value = "uid") Long uid);

    /**
     * 新增就业追踪
     *
     * @param employmentTrackingStudent 就业追踪
     * @return 结果
     */
    public int insertEmploymentTrackingStudent(EmploymentTrackingStudent employmentTrackingStudent);

    /**
     * 修改就业追踪
     *
     * @param employmentTrackingStudent 就业追踪
     * @return 结果
     */
    public int updateEmploymentTrackingStudent(EmploymentTrackingStudent employmentTrackingStudent);

    /**
     * 删除就业追踪
     *
     * @param id 就业追踪主键
     * @return 结果
     */
    public int deleteEmploymentTrackingStudentById(Long id);

    /**
     * 批量删除就业追踪
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmploymentTrackingStudentByIds(Long[] ids);

    /**
     * 批量删除就业追踪
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmploymentTrackingByStudentIds(Long[] ids);

    /**
     * 批量新增就业追踪
     *
     * @param employmentTrackingList 就业追踪列表
     * @return 结果
     */
    public int batchEmploymentTracking(List<EmploymentTracking> employmentTrackingList);


    /**
     * 通过就业追踪主键删除就业追踪信息
     *
     * @param id 就业追踪ID
     * @return 结果
     */
    public int deleteEmploymentTrackingByStudentId(Long id);
}
